import java.util.Scanner;

public class hw10 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int num = scanner.nextInt();
        int count = 0;
        int tmp = num;
        while (tmp != 0) {
            tmp /= 10;
            count++;
        }
        for (int i = 0; i < count; i++) {
            System.out.print(num % 10+"\t");
            num /= 10;
        }


    }

}
